package cn.mingfancloud.bilibili_java.javabase.ClassesAndObjects.Staticday2;

import java.util.ArrayList;

public class StudentTest {
    public static void main(String[] args) {
        ArrayList<Studentday2> list =new ArrayList<>();

        Studentday2 stu1 = new Studentday2("zhangsan",23,"男");
        Studentday2 stu2 = new Studentday2("lisi",2334,"男");
        Studentday2 stu3 = new Studentday2("wumi ng",243,"男");


        list.add(stu1);
        list.add(stu2);
        list.add(stu3);

        int ming =Studentday2Util.getMaxAgeStudent(list);
        System.out.println(ming);

    }
}
